<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Brand_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-brand_id" data-rule="required" data-source="product/brand/index" data-params='{"custom[deploy_type]":"2"}' class="form-control selectpage" name="row[brand_id]" type="text" value="{$row.brand_id|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="product/product/index" data-params='{"custom[deploy_type]":"2"}' data-field="title" class="form-control selectpage" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('品牌')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pinpai" data-rule="required" class="form-control" name="row[pinpai]" type="text" value="{$row.pinpai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yingpan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yingpan" data-rule="required" class="form-control" name="row[yingpan]" type="text" value="{$row.yingpan|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Rgb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rgb" data-rule="required" class="form-control" name="row[rgb]" type="text" value="{$row.rgb|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiekou')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiekou" data-rule="required" class="form-control" name="row[jiekou]" type="text" value="{$row.jiekou|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wifi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wifi" data-rule="required" class="form-control" name="row[wifi]" type="text" value="{$row.wifi|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Banxing')}:</label>

        <div class="col-xs-12 col-sm-8">
            <select  id="c-banxing" class="form-control selectpicker" name="row[banxing]">
                {foreach name="zhubanList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.banxing"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pcie')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pcie" class="form-control" name="row[pcie]" type="text" value="{$row.pcie|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xinpian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xinpian" class="form-control" name="row[xinpian]" type="text" value="{$row.xinpian|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('M2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-m2" class="form-control" name="row[m2]" type="text" value="{$row.m2|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sata')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sata" class="form-control" name="row[sata]" type="text" value="{$row.sata|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ddr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ddr" class="form-control" name="row[ddr]" type="text" value="{$row.ddr|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ddrbz')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ddrbz" class="form-control" name="row[ddrbz]" type="text" value="{$row.ddrbz|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ddrcc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ddrcc" class="form-control" name="row[ddrcc]" type="text" value="{$row.ddrcc|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ddrrl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ddrrl" class="form-control" name="row[ddrrl]" type="text" value="{$row.ddrrl|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wangsu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wangsu" class="form-control" name="row[wangsu]" type="text" value="{$row.wangsu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dyjk')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dyjk" class="form-control" name="row[dyjk]" type="text" value="{$row.dyjk|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gongdian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gongdian" class="form-control" name="row[gongdian]" type="text" value="{$row.gongdian|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('声道')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shengdao" class="form-control" name="row[shengdao]" type="text" value="{$row.shengdao|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-img" data-rule="required" class="form-control" size="50" name="row[img]" type="text" value="{$row.img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-img" class="btn btn-danger faupload" data-input-id="c-img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-img" class="btn btn-primary fachoose" data-input-id="c-img" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-img"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
